package com.thirdDay;

public class Demo04 {
    public static void main(String[] args) {
        getLength(5.2, 1.3);
    }

    private static void getLength(double len, double width) {
        double sum = (len + width) * 2;
        System.out.println("周长为:" + sum);
    }
}
